package com.threeox.commonlibrary.entity.engine.request;

import com.threeox.commonlibrary.entity.engine.request.base.BaseRequestMsg;
import com.threeox.utillibrary.util.res.StringHelper;

/**
 *
 * @ClassName: IntentRequestMsg
 *
 * @Description: TODO()
 *
 * @author 赵屈犇
 *
 * @date 创建时间: 2017/7/11 19:16
 *
 * @version 1.0
 *
 */
public class IntentRequestMsg extends BaseRequestMsg{

    // 通过Intent意图传递的数据，key
    private String intentKey;
    // 通过Intent意图传递的数据
    private Object intentValue;

    public void initData(StringHelper stringHelper) {
        if (null != intentKey) {
            intentKey = stringHelper.getStringText(intentKey);
        }
        super.initData(stringHelper, intentKey);
    }

    public String getIntentKey() {
        return intentKey;
    }

    public void setIntentKey(String intentKey) {
        this.intentKey = intentKey;
    }

    public Object getIntentValue() {
        return intentValue;
    }

    public void setIntentValue(Object intentValue) {
        this.intentValue = intentValue;
    }

}
